package com.guo.todo.usercenter.service.session;

import com.guo.todo.common.credential.Credential;
import com.guo.todo.common.excepiton.CommonException;

/**
 * @Auther: hotlove_linx
 * @Date: 2023/7/19 22:29
 * @Description:
 */
public interface SessionService {

    void deleteSession(Credential credential);

    void invalidSession(Credential credential);

    void validAndFreshSession(Credential credential) throws CommonException;

    void createSession(Credential credential) throws CommonException;
}
